#pragma once
#include <iostream>
#include <string>
#include "Worker.h"

using namespace std;

class SystemManager{
    public:
        SystemManager();
        int num;
        Worker** workerArray;
        void printMenu();
        void exitSystem();
        void addWorker();
        void showWorkerInfo();
        void deleteWorker();
        void updateWorker();
        void findWorker();
        void sortWorker();
        void deleteAll();
        int findById(int id);
        void save();
        void init();
        int getWorkerNumFromFile();
};